﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Upload
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Upload</h2>

    <% using (Html.BeginForm("Upload", "Photos", FormMethod.Post, new { enctype = "multipart/form-data" })) { %>
        <p><input type="file" name="file" size="23"/></p>
        <p><input type="submit" value="Upload file" /></p>        
    <% } %> 
</asp:Content>
